package com.awifi.dbus.dao;


import org.springframework.stereotype.Repository;

import com.awifi.dbus.model.User;

//这句就等于 <bean id="userDao" class="com.awifi.dbus.UserDao"/>
//创建一个 UserDao 类型的 userDao 对象。
@Repository("userDao")
public class UserDao implements IUserDao {

	public void add(User user) {
		System.out.println("添加了:" + user );
	}

	public void del(int id) {
		System.out.println("删除了:" + id );
	}

	public User load(int id) {
		System.out.println("load:" + id );
		return null;
	}

}
